package com.koron.tool.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * @ClassName ToolGroupBean
 * @description 工器具台账树
 * @Author liaodf
 * @Date 2021/10/20 14:16
 */
@Data
public class ToolGroupBean extends BaseBean {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "所属层级")
    private String hierarchy;

    @ApiModelProperty(value = "所属层级等级")
    private Integer level;

    @ApiModelProperty(value = "关联组织")
    private String organization;

    @ApiModelProperty(value = "关联组织名称")
    private String organizationName;

    @ApiModelProperty(value = "父级id")
    private String parent;

    private Integer parentLevel;

    private String parentName;

    @ApiModelProperty(value = "所属库房id")
    private String warehouseId;

    @ApiModelProperty(value = "所属库房名称")
    private String warehouseName;

    @ApiModelProperty(value = "排序")
    private Integer order;

    @ApiModelProperty(value = "排序")
    private List<ToolGroupBean> childList;

    @ApiModelProperty(value = "子集数量")
    private Integer childNum;

    private Boolean leafNodeFlag;

    @ApiModelProperty(value = "盘点起始日期")
    private Long inventoryStartDate;

    @ApiModelProperty(value = "盘点周期")
    private Integer inventoryCycle;

}
